/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/idenger">idenger</a> All rights reserved.
 */
package com.idenger.modules.project.entity.projectbasicinfo;

import org.hibernate.validator.constraints.Length;

import com.idenger.common.persistence.DataEntity;

/**
 * 项目基本信息Entity
 * @author chenlin
 * @version 2018-04-11
 */
public class ProjectBasicinfo extends DataEntity<ProjectBasicinfo> {
	
	private static final long serialVersionUID = 1L;
	private String projectId;		// 项目ID
	private String projectLeader;		// 项目负责人
	private String projectContact;		// 项目联系人
	private String contactEmail;		// 联系人邮箱
	private String contactPhone;		// 联系人电话
	private String leadUnit;		// 牵头单位
	private String projectIntroduction;		// 项目简介
	private String sourceRemarks;		// 数据源备注
	private String deleteFlag;		// 删除标记

	private String projectName;     //项目名字
	private String projectType;     //项目类型
	private String creatorId;    //项目申请者
	
	public ProjectBasicinfo() {
		super();
	}

	public ProjectBasicinfo(String id){
		super(id);
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getProjectType() {
		return projectType;
	}

	public void setProjectType(String projectType) {
		this.projectType = projectType;
	}

	@Length(min=0, max=64, message="项目ID长度必须介于 0 和 64 之间")
	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	
	@Length(min=0, max=64, message="项目负责人长度必须介于 0 和 64 之间")
	public String getProjectLeader() {
		return projectLeader;
	}

	public void setProjectLeader(String projectLeader) {
		this.projectLeader = projectLeader;
	}
	
	@Length(min=0, max=64, message="项目联系人长度必须介于 0 和 64 之间")
	public String getProjectContact() {
		return projectContact;
	}

	public void setProjectContact(String projectContact) {
		this.projectContact = projectContact;
	}
	
	@Length(min=0, max=64, message="联系人邮箱长度必须介于 0 和 64 之间")
	public String getContactEmail() {
		return contactEmail;
	}

	public void setContactEmail(String contactEmail) {
		this.contactEmail = contactEmail;
	}
	
	@Length(min=0, max=64, message="联系人电话长度必须介于 0 和 64 之间")
	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}
	
	@Length(min=0, max=64, message="牵头单位长度必须介于 0 和 64 之间")
	public String getLeadUnit() {
		return leadUnit;
	}

	public void setLeadUnit(String leadUnit) {
		this.leadUnit = leadUnit;
	}
	
	public String getProjectIntroduction() {
		return projectIntroduction;
	}

	public void setProjectIntroduction(String projectIntroduction) {
		this.projectIntroduction = projectIntroduction;
	}
	
	@Length(min=0, max=255, message="数据源备注长度必须介于 0 和 255 之间")
	public String getSourceRemarks() {
		return sourceRemarks;
	}

	public void setSourceRemarks(String sourceRemarks) {
		this.sourceRemarks = sourceRemarks;
	}
	
	@Length(min=0, max=1, message="删除标记长度必须介于 0 和 1 之间")
	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public String getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(String creatorId) {
		this.creatorId = creatorId;
	}
}